namespace EyeOpen.Crypt.Client.Wcf
{
    using System;
    using System.ServiceModel;
    using EyeOpen.IO;

    [ServiceContract]
    public interface IEncryptionService
    {
        [OperationContract(AsyncPattern = true)]
        IAsyncResult BeginDoWork(string key, string source, AsyncCallback callback, object asyncState);

        EncryptionResult EndDoWork(IAsyncResult result);
    }
}